solve_cholesky Interface

public interface solve_cholesky

Module Procedures

private pure function solve_cholesky_mtx(upper, a, b) result(x)

Solves the system of Cholesky factored equations or .

Arguments

Type IntentOptional Attributes Name
logical, intent(in) :: upper

Set to true if is factored such that ; else, set to false if is factored such that .

real(kind=real64), intent(in), dimension(:,:) :: a

The N-by-N Cholesky factored matrix as returned by cholesky_factor.

real(kind=real64), intent(in), dimension(:,:) :: b

The N-by-NRHS matrix .

Return Value real(kind=real64), allocatable, dimension(:,:)

The resulting N-by-NRHS matrix .

private pure function solve_cholesky_mtx_cmplx(upper, a, b) result(x)

Solves the system of Cholesky factored equations or .

Arguments

Type IntentOptional Attributes Name
logical, intent(in) :: upper

Set to true if is factored such that ; else, set to false if is factored such that .

complex(kind=real64), intent(in), dimension(:,:) :: a

The N-by-N Cholesky factored matrix as returned by cholesky_factor.

complex(kind=real64), intent(in), dimension(:,:) :: b

The N-by-NRHS matrix .

Return Value complex(kind=real64), allocatable, dimension(:,:)

The resulting N-by-NRHS matrix .

private pure function solve_cholesky_vec(upper, a, b) result(x)

Solves the system of Cholesky factored equations or .

Arguments

Type IntentOptional Attributes Name
logical, intent(in) :: upper

Set to true if is factored such that ; else, set to false if is factored such that .

real(kind=real64), intent(in), dimension(:,:) :: a

The N-by-N Cholesky factored matrix as returned by cholesky_factor.

real(kind=real64), intent(in), dimension(:) :: b

The N-element vector .

Return Value real(kind=real64), allocatable, dimension(:)

The resulting N-element vector .

private pure function solve_cholesky_vec_cmplx(upper, a, b) result(x)

Solves the system of Cholesky factored equations or .

Arguments

Type IntentOptional Attributes Name
logical, intent(in) :: upper

Set to true if is factored such that ; else, set to false if is factored such that .

complex(kind=real64), intent(in), dimension(:,:) :: a

The N-by-N Cholesky factored matrix as returned by cholesky_factor.

complex(kind=real64), intent(in), dimension(:) :: b

The N-element vector .

Return Value complex(kind=real64), allocatable, dimension(:)

The resulting N-element vector .